//
//  UIView+TextExtension.swift
//  weiboSina
//
//  Created by admin on 15/12/28.
//  Copyright © 2015年 admin. All rights reserved.
//

import UIKit

extension UILabel{

    convenience init(textColor:UIColor,textSize:CGFloat){
    self.init()
    self.textColor = textColor
    self.font = UIFont.systemFontOfSize(textSize)
        
    
    }

}
extension UIButton{
    convenience init(textColor:UIColor,textSize:CGFloat){
       self.init()
        self.setTitleColor(textColor, forState: .Normal)
        self.titleLabel?.font = UIFont.systemFontOfSize(textSize)
    
    }

}